package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.domain.HoRepairApplication;

/**
 * 报修申请Mapper接口
 *
 * @author ruoyi
 * @date 2025-01-10
 */
public interface HoRepairApplicationMapper {
    /**
     * 查询报修申请
     *
     * @param id 报修申请主键
     * @return 报修申请
     */
    public HoRepairApplication selectHoRepairApplicationById(Long id);

    /**
     * 查询报修申请列表
     *
     * @param hoRepairApplication 报修申请
     * @return 报修申请集合
     */
    public List<HoRepairApplication> selectHoRepairApplicationList(HoRepairApplication hoRepairApplication);

    /**
     * 新增报修申请
     *
     * @param hoRepairApplication 报修申请
     * @return 结果
     */
    public int insertHoRepairApplication(HoRepairApplication hoRepairApplication);

    /**
     * 修改报修申请
     *
     * @param hoRepairApplication 报修申请
     * @return 结果
     */
    public int updateHoRepairApplication(HoRepairApplication hoRepairApplication);

    /**
     * 删除报修申请
     *
     * @param id 报修申请主键
     * @return 结果
     */
    public int deleteHoRepairApplicationById(Long id);

    /**
     * 批量删除报修申请
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHoRepairApplicationByIds(Long[] ids);
}
